import unittest
from assert_tools_02 import add
from read_add_data import build_add_data
from parameterized import parameterized

data = [(1, 1, 2), (1, 2, 3), (2, 3, 5), (4, 5, 9)]


class TestAdd(unittest.TestCase):
    @parameterized.expand(build_add_data())
    def test_add(self, a, b, c):
        print(f"a:{a},b:{b},c:{c}")
        self.assertEqual(c, add(a, b))
